<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@page import="java.util.*" %>
<%@page import="forms.DegreeFormInsert" %>
<html:html>
	<head>
		<title>More Degrees</title>
	</head>
<body>

<%
ArrayList<DegreeFormInsert> degrees = (ArrayList<DegreeFormInsert>)session.getAttribute("degrees");
Iterator<DegreeFormInsert> itr = degrees.iterator();
DegreeFormInsert form = null;
while (itr.hasNext()) {
	form = itr.next();
 	out.print(form.getUniversity()+",");
 	out.print(form.getDiscipline()+",");
 	out.print(form.getMonth()+",");
 	out.print(form.getYear()+",");
 	out.print(form.getGpa()+",");
 	out.print(form.getTitleofdegree()+","+"<BR>");
 	
	} %>




	<html:form method="POST" action="/moredegree" >
		<html:submit>Submit Next Degree</html:submit><br>
	</html:form>
	
	<html:form method="POST" action="/donedegree">
		<html:submit>Done</html:submit>
	</html:form>
</body>
</html:html>